package com.example.score.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.time.LocalDateTime;

@Data
@TableName("t_class_info")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ClassInfo {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long examDetailId;
    private Long gradeInfoId;
    private Long classId;
    private Long classOmsId;
    private String className;
    private Integer studentCount;
    private Integer studentSubmitCount;
    private Integer status;
    @TableField(exist = false)
    private Integer grade;
    @TableField(exist = false)
    private String gradeCode;
    @TableField(exist = false)
    private Integer deleteFlag;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    private LocalDateTime classFirstpushscoreTime;
} 